package com.levy.contronller.javase.designModel.flyweight;

/**
 * 　　* @author levy
 * 　　* @description
 * 　　* @date 2021/4/21
 *
 */
public class ConcreteFlyweight extends Flyweight {

    //接受外部状态
    public ConcreteFlyweight(String extrinsic) {
        super(extrinsic);
    }

    //根据外部状态进行逻辑处理
    @Override
    public void operate(int extrinsic) {
        System.out.println("具体Flyweight:" + extrinsic);
    }

}